<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width,initial-scale=1.0,viewport-fit=cover,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <title>个人中心</title>
    <script src="js/rem.js"></script>
    <link rel="stylesheet" href="css/weui.min.css">
    <link rel="stylesheet" href="css/jquery-weui.min.css">
    <link rel="stylesheet" href="css/public.css">
    <link rel="stylesheet" href="css/user.css">
    <script>(function () { var _53code = document.createElement("script"); _53code.src = "https://tb.53kf.com/code/code/96d8f960b261e49515450f8953b044bc5/1"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_53code, s); })();</script>
</head>

<body>
    <div class="pub-container user-consultation">
        <div class="hxl-pay-suc"></div>
        <div class="order-info">
            <div class="top"></div>
            <div class="user-box box3">
                <div class="inner plr15" id="paySuccess">
                    <div class="box3_p2">恭喜您已成功获得此课程的听课权益</div>
                    <div class="box3">
                        <div class="box3_img"><img src="" alt=""></div>
                        <div class="box3_text">
                            <p class="box3_p1">XXXX专家xxxx科系列课程系列课程系列课程</p>
                        </div>
                    </div>
                    <div class="box5">
                        <p class="box5_p1">已支付</p>
                        <p class="box5_p2"><span>3000</span> 元</p>
                    </div>
                    <div class="sq-info">
                        <p><span class="txt1">订单号 </span><span>38474758599599</span></p>
                        <p><span class="txt1">下单时间 </span><span>2019-03-08 13:44:31</span></p>
                        <p><span class="txt1">支付方式 </span><span>微信支付</span></p>
                    </div>
                    <p class="bottom-tip">遇到支付问题请联系客服，客服电话：400-990-0686</p>
                    <div class="custom-box">
                        <a class="custom-btn" href="' + customUrl + '">咨询客服</a>
                    </div>
                </div>
            </div>
        </div>
                
        <div class="plr26 mt20 mb15"><input class="pub-submit-btn" type="button" value="去学习"></div>
        <div class="pay-tip2 plr26">
            <p>听课权益：</p>
            <p>1.课程名称XXXXXXXXXXXX；</p>
            <p>2.有效期至2022年03-16；</p>
            <p>3.本产品为虚拟产品，一经支付，概不退款</p>
        </div>
    </div>
    <script src="js/jquery-3.6.0.min.js"></script>
    <script src="js/jquery-weui.min.js"></script>
    <script src="js/md5.js"></script>
    <script src="js/public.js"></script>
    <script>
        var orderNo = getQueryString('orderNo') || getQueryString('out_trade_no');
        var payTypes = {
            1: '微信支付',
            2: '支付宝支付',
            3: '在线支付'
        }

        // 支付成功回调
        // http('/pay/queryOrder', {
        //     loading: true,
        //     hasToken: false,
        //     data: {
        //         orderNo: orderNo
        //     },
        //     success: function(res){
        //         if(res.code === '01'){
        //             var data = res.data;
        //             var html = '<p class="line1"><span class="txt">会诊费</span><span class="money">' + data.consulationMoney + '</span><span class="unit">元</span></p>' + 
        //                 '<div class="sq-info">' + 
        //                     '<p><span class="txt1">订单号 </span><span>' + orderNo + '</span></p>' + 
        //                     '<p><span class="txt1">下单时间 </span><span>' + data.orderTime + '</span></p>' + 
        //                     '<p><span class="txt1">支付方式 </span><span>' + payTypes[data.orderType] + '</span></p>' + 
        //                 '</div>' + 
        //                 '<p class="bottom-tip">遇到支付问题请联系客服，客服电话：400-990-0686</p>' + 
        //                 '<div class="custom-box">' + 
        //                     '<a class="custom-btn" href="' + customUrl + '">咨询客服</a>' + 
        //                 '</div>';
        //             $('#paySuccess').html(html);
        //             $('.user-consultation').show();
        //         }
        //     }
        // })
    </script>
</body>

</html>